<meta charset="UTF-8">
<table  align="center">

<h3 align="center">回复评论</h3>
<table align="center">
<th>
	<h2><font color="red">{$arr.content}</font></h2>
</th>
</table>

<div >
<volist name="data" id="v">
	<h3>回复：{$v.ping}</h3>
</volist>	
</div>

<div align="center"> <textarea id="content" cols="20px" rows="2px"></textarea>
<input type="button" onclick="ti(this)" title="{$arr.id}" value="回复">
</div>

<script type="text/javascript">
	function ti(obj){
		var id=obj.title;
		var content=document.getElementById('content').value;
		var ajax=new XMLHttpRequest();
		ajax.open('get','__URL__/h?ping='+content+"&p_id="+id);
		ajax.send(null);
		ajax.onreadystatechange=function(){
		if(ajax.readyState==4&&ajax.status==200){
			location.reload();
		}
	}
}
</script>
